package com.un10.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.un10.entity.Activitylist;
import com.un10.mapper.ActivitylistMapper;
import com.un10.service.ActivitylistService;
@Service
public class ActivitylistServiceImpl implements ActivitylistService {
@Autowired
	private ActivitylistMapper activitylistMapper;
	
	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return activitylistMapper.getCount();
	}

	@Override
	public List<Activitylist> findAllActivitylist(int page, int limit, String venueName) {
		// TODO Auto-generated method stub
		return activitylistMapper.getAllActivitylist(page, limit, venueName);
	}

	@Override
	public Integer findActivitylistAdd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return activitylistMapper.ActivitylistAdd(map);
	}

	@Override
	public Integer findActivitylistUpdate(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return activitylistMapper.ActivitylistUpdate(map);
	}

	@Override
	public Integer findActivitylistDelete(int fieldID) {
		// TODO Auto-generated method stub
		return activitylistMapper.ActivitylistDelete(fieldID);
	}

}
